html {
  scroll-behavior: smooth;
}

.cs-constr-header-logo .cs_site_branding img {
  max-height: 70px;
  max-width: 240px;
  width: auto;
  height: auto;
}

.cs_side_header_in .cs-sidebar-about-brand .cs_site_branding {
  max-width: 160px;
}

.cs_side_header_in .cs-sidebar-about-brand .cs_site_branding img {
  max-height: 120px;
  width: auto;
}

footer .cs-footer-widget > div > a > img {
  max-height: 110px;
  width: auto;
}

/* Header fixo visível durante todo o scroll */
.cs_sticky_header,
.cs_sticky_header.cs_gescout_sticky,
.cs_sticky_header.cs_gescout_sticky.cs_gescout_show {
  top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cs_sticky_header.cs_gescout_sticky {
  box-shadow: 0 4px 24px rgba(6, 8, 45, 0.12);
}

/* Footer: azul escuro sólido (sem imagem de fundo) */
footer .cs-constr-footer-container {
  background-color: #06082d !important;
  background-image: none !important;
}

footer .bs-footer-contact {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--theme_white);
  display: inline-block;
}

footer .bs-footer-contact:hover {
  color: var(--theme-color);
}

@media screen and (max-width: 991px) {
  footer .cs-constr-footer-content .row > [class*="col-"] {
    text-align: center;
  }

  footer .cs-footer-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .cs-footer-widget > div {
    width: 100%;
    max-width: 420px;
  }

  footer .theme-social ul {
    justify-content: center;
  }

  footer .cs-constr-footer-menu ul {
    align-items: center;
  }

  footer .cs-constr-footer-menu ul li {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer .padding-lg-50 {
    padding-left: 0 !important;
  }
}

/* Sidebar: contato e redes sociais */
.cs_side_header_in {
  overflow-y: auto;
}

.bs-sidebar-contact {
  border-top: 1px solid var(--theme-border-color);
  padding-top: 30px;
}

.bs-sidebar-contact-item p,
.bs-sidebar-social-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--theme-color);
}

.bs-sidebar-contact-item a,
.bs-sidebar-contact-item span {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body-color);
}

.bs-sidebar-contact-item a:hover {
  color: var(--theme-color);
}

.bs-sidebar-social ul {
  margin-top: 12px;
}

/* Banner CTA */
.bs-cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bs-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 45, 0.85);
  z-index: 0;
}

.bs-cta-banner .container {
  position: relative;
  z-index: 1;
}

.bs-cta-banner .cs-cta-content.bs-cta-stacked {
  flex-direction: column;
  align-items: flex-start;
}

.bs-cta-banner .bs-cta-stacked .title p {
  margin-bottom: 0;
  color: var(--theme-dark-paragraph-font-color);
}

/* Contato: sem imagem de fundo no bloco do formulário */
#contato .cs-contact-section .row {
  background-image: none !important;
}

.bs-com-strength-spacing {
  padding-bottom: 80px;
}

.cs-feature-card-wrap .feature-card-item {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cs-feature-card-wrap .cs-feature-cards-row {
  align-items: stretch;
}

/* Hero: overlay escuro para legibilidade do texto */
.cs-hero-wrap .hero-slider-item {
  position: relative;
}

.cs-hero-wrap .hero-slider-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.cs-hero-wrap .hero-slider-item .slider-item-content {
  position: relative;
  z-index: 1;
}

/* Texto do hero legível sobre imagem */
.cs-hero-wrap .slider-item-content .cs-hero-title .hero-strong-title,
.cs-hero-wrap .slider-item-content .cs-hero-title .cs-hero-title-normal,
.cs-hero-wrap .slider-item-content .hero-subtitle {
  color: var(--theme_white);
}

.bs-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.bs-whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .bs-whatsapp-float span {
    display: none;
  }

  .bs-whatsapp-float {
    padding: 16px;
    border-radius: 50%;
  }
}
